-- card: 24994 from stack: in.1 -- bmap block id: 0 -- flags: 0000 -- background id: 3837 -- name: subLaunch -- part 1 (button) -- low flags: 00 -- high flags: A003 -- rect: left=82 top=302 right=324 bottom=182 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Install ----- HyperTalk script ----- on mouseUp if the optionkey is down then pass mouseup put installres(XFCN,subLaunch) into it if it is empty then play oops else answer it end mouseUp -- part contents for background part 10 ----- text ----- 14 -- part contents for background part 5 ----- text ----- subLaunch -- part contents for background part 6 ----- text ----- This will launch an application to run along with Hypercard under MultiFinder. Note: Version 1.1 of Hypercard makes this XFCN redundant. However, to make your stacks MulitFinder compatible, you should check the version number of HyperCard that is running (using the version property) and use this function if the version is less than 1.1. --Steve D. -- part contents for background part 7 ----- text ----- Syntax: SubLaunch(programName,docName) sublaunches the program with optional attached document. Both HyperCard and the specified program will then be running, memory permitting (at least 2 Meg!). If the arguments have no colons in them (not a pathname), then the “Look for applications in:” etc. cards in the Home stack are consulted. SubLaunch return 0 for success, negative numbers for Operating System errors, and small positive numbers for parameter errors, or lack of memory.